package org.jeecg.modules.music.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.modules.music.entity.MusCollectSong;
import org.jeecg.modules.music.mapper.MusCollectSongMapper;
import org.jeecg.modules.music.service.IMusCollectSongService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Slf4j
public class MusCollectSongServiceImpl extends ServiceImpl<MusCollectSongMapper, MusCollectSong> implements IMusCollectSongService {

    @Override
    @Transactional
    public void deleteCollect(String userId, String songId) {
        baseMapper.deleteCollect(userId,songId);
    }
}
